package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王鹤蒲
 * @since 2023-09-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_like")
@ApiModel(value = "Like对象", description = "")
public class Like implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("点赞ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("评论ID")
      private Integer commentId;

      @ApiModelProperty("用户ID")
      private Integer userId;

      @ApiModelProperty("创建者")
      private String createBy;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty("更新者")
      private String updateBy;

      @ApiModelProperty("更新时间")
      private LocalDateTime updateTime;

      @ApiModelProperty("删除标志")
      private String delFlag;

      @ApiModelProperty("备注")
      private String remark;


}
